﻿using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.Text;

namespace YouMa.Model
{
    public class YouMaContext:DbContext
    {
        public YouMaContext(DbContextOptions<YouMaContext> Options) : base(Options) { }
        public DbSet<User> Users { get; set; }

        public DbSet<Message> Messages { get; set; }

        public DbSet<ShouCang> ShouCangs { get; set; }
        public DbSet<PingLun> PingLuns { get; set; }
        public DbSet<Theme> Themes { get; set; }
        public DbSet<GuanZhu> GuanZhus { get; set; }
    }
}
